package com.demo.spi.impl;

import com.demo.spi.Person;
import org.apache.dubbo.common.URL;

public class PersonImplWrap implements Person {
    private Person person;
    public PersonImplWrap(Person  person){
        this.person = person;
    }
    @Override
    public void sayBye(URL url) {
        System.out.println("PersonImplWrap before.....");
        person.sayBye(url);
        System.out.println("PersonImplWrap after.....");

    }
}
